<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
    <%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<div id="queryForm" style="width:100%;margin-top:30px;font-size:11pt;">
	类型:<select style="height:auto;width:auto;border:1px solid gray;" id="type">
		<option value="teacher">教师</option>
		<option value="student">学生</option>
	</select>
	&nbsp;&nbsp;<span id="type">职工号:</span><input type="text" name="no" style="height:30px;" id="query">&nbsp;&nbsp;
	<input type="button" value="查询" class="btn btn-success" id="subQuery">
</div>
<div id="personInfo" style="display:none;width:100%;" align="center">
	<table style="width:80%;" class="table  table-bordered  table-condensed table-hover">
	<thead>
		<tr>
			<th>编号</th>
			<th>姓名</th>
			<th>性别</th>
			<th class="info">专业</th>
			<th >学院</th>
		</tr>
		</thead>
		<tbody>
		<tr>
			<td id="no"></td>
			<td id="name"></td>
			<td id="gender"></td>
			<td id="depart"></td>
			<td id="ac"></td>
		</tr>
		</tbody>
	</table>
	<table style="width:80%;" class="table  table-bordered  table-condensed table-hover">
	<thead>
		<tr id="attachHead">
			
		</tr>
		</thead>
		<tbody>
		<tr id="attachInfo">
			
		</tr>
		</tbody>
	</table>
	<table style="width:80%; display:none;" id="di" class="table  table-bordered  table-condensed">
	<thead>
	<tr>
	<th>详细信息</th>
	</tr>
	</thead>
	<tbody>
		<tr>
		<td id="detailInfo"></td>
		</tr>
	</tbody>
	</table>
</div>